# 设置源文件
hisport_sources = files(
  'hisport.cpp'
)

# 设置头文件目录
hisport_inc = include_directories(
  '../../../haslib/inc',
  '.'
)

# 创建hisport动态库
hisport_lib = shared_library(
  'hisport',
  hisport_sources,
  include_directories: hisport_inc,
  link_with: haslib_lib,
  install: true,
  install_dir: install_dir + 'opt/bmc/apps/devmon/drvlib/bus/hisport'
)

# 导出hisport库依赖
hisport_dep = declare_dependency(
  link_with: hisport_lib,
  include_directories: hisport_inc
)
